<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="ROBOTS" content="NOINDEX, NOFOLLOW">

	  <title>luke</title>
	  <%= stylesheet_link_tag "admin", media: "all", "data-turbolinks-track" => true %>
	  <%= csrf_meta_tags %>
    <%= javascript_include_tag "admin", "data-turbolinks-track" => true %>
</head>

<body>

    <div id="wrapper">

        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <%= link_to "路客海外深度游", admin_path, class: "navbar-brand" %>
            </div>
            <!-- /.navbar-header -->

            <ul class="nav navbar-top-links navbar-right">
                <!-- /.dropdown -->
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-user fa-fw"></i>  <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <li><a href="#"><i class="fa fa-user fa-fw"></i> User Profile</a>
                        </li>
                        <li><a href="#"><i class="fa fa-gear fa-fw"></i> Settings</a>
                        </li>
                        <li class="divider"></li>
                        <li><%= link_to %{<i class="fa fa-sign-out fa-fw"></i> Logout}.html_safe, destroy_admin_session_path, :method => :delete %></a>
                        </li>
                    </ul>
                    <!-- /.dropdown-user -->
                </li>
                <!-- /.dropdown -->
            </ul>
            <!-- /.navbar-top-links -->

        </nav>
        <!-- /.navbar-static-top -->

        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="sidebar-collapse">
                <%= tabs_tag :builder => MenuTabBuilder, :open_tabs => { :id => "side-menu", :class => "nav  nav-pills nav-stacked" } do |tab| %>
                  <%= tab.user      'User', admin_users_path %>
                  <%= tab.doing     '焦点图/视频/广告', admin_doings_path %>
                  <%= tab.lamp     '跑马灯', admin_lamps_path %>
                  <%= tab.product   '产品', admin_products_path %>
                  <%= tab.article   '文章', admin_articles_path %>
                  <%= tab.order   '订单', admin_orders_path %>
                  <%= tab.footer   'footer', admin_footers_path %>
                  <%= tab.about   'footer 类别', admin_abouts_path %>
                  <%= tab.category   '类别', admin_categories_path %>
                  <%= tab.weixin   '微信用户', admin_weixin_users_path %>
                <% end %>
                <!-- /#side-menu -->
            </div>
            <!-- /.sidebar-collapse -->
        </nav>
        <!-- /.navbar-static-side -->

        <div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <%= yield %>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
            	
            </div>
            <!-- /.row -->
        </div>
        <!-- /#page-wrapper -->

    </div>
    <!-- /#wrapper -->
    
    
</body>

</html>

